bw=zeros(100,100);
bw (2:2:98,2:2:98)=1;
imshow(bw);
whos bw  
